package text;


import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.lankystar.sos.service.IResponseInterface;

public class RespOrder {

	ApplicationContext ac = null;
	IResponseInterface respInterface = null;
	@Before
	public void inti(){
		ac = new ClassPathXmlApplicationContext("applicationContext.xml");
		respInterface = (IResponseInterface) ac.getBean("responseInterface");
	}
	@Test
	public void addResponseMethod() {
		respInterface.addResponseMethod(2, 1, 10);
	}

}
